package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/PurchaseCodeGenerated.class */
public class PurchaseCodeGenerated {
    private Integer id;
    private String buildNum;
    private String buildName;
    private String createTime;
    private Integer companyId;
    private String companyName;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setBuildNum(String buildNum) {
        this.buildNum = buildNum;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof PurchaseCodeGenerated)) {
            return false;
        }
        PurchaseCodeGenerated other = (PurchaseCodeGenerated) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$buildNum = getBuildNum();
        Object other$buildNum = other.getBuildNum();
        if (this$buildNum == null) {
            if (other$buildNum != null) {
                return false;
            }
        } else if (!this$buildNum.equals(other$buildNum)) {
            return false;
        }
        Object this$buildName = getBuildName();
        Object other$buildName = other.getBuildName();
        if (this$buildName == null) {
            if (other$buildName != null) {
                return false;
            }
        } else if (!this$buildName.equals(other$buildName)) {
            return false;
        }
        Object this$createTime = getCreateTime();
        Object other$createTime = other.getCreateTime();
        if (this$createTime == null) {
            if (other$createTime != null) {
                return false;
            }
        } else if (!this$createTime.equals(other$createTime)) {
            return false;
        }
        Object this$companyId = getCompanyId();
        Object other$companyId = other.getCompanyId();
        if (this$companyId == null) {
            if (other$companyId != null) {
                return false;
            }
        } else if (!this$companyId.equals(other$companyId)) {
            return false;
        }
        Object this$companyName = getCompanyName();
        Object other$companyName = other.getCompanyName();
        return this$companyName == null ? other$companyName == null : this$companyName.equals(other$companyName);
    }

    protected boolean canEqual(Object other) {
        return other instanceof PurchaseCodeGenerated;
    }

    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $buildNum = getBuildNum();
        int result2 = (result * 59) + ($buildNum == null ? 43 : $buildNum.hashCode());
        Object $buildName = getBuildName();
        int result3 = (result2 * 59) + ($buildName == null ? 43 : $buildName.hashCode());
        Object $createTime = getCreateTime();
        int result4 = (result3 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
        Object $companyId = getCompanyId();
        int result5 = (result4 * 59) + ($companyId == null ? 43 : $companyId.hashCode());
        Object $companyName = getCompanyName();
        return (result5 * 59) + ($companyName == null ? 43 : $companyName.hashCode());
    }

    public String toString() {
        return "PurchaseCodeGenerated(id=" + getId() + ", buildNum=" + getBuildNum() + ", buildName=" + getBuildName() + ", createTime=" + getCreateTime() + ", companyId=" + getCompanyId() + ", companyName=" + getCompanyName() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getBuildNum() {
        return this.buildNum;
    }

    public String getBuildName() {
        return this.buildName;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public Integer getCompanyId() {
        return this.companyId;
    }

    public String getCompanyName() {
        return this.companyName;
    }
}